package org.jsbd.boss.dao.impl;

import java.util.List;

import org.jsbd.boss.dao.IUmRetentConfigDao;
import org.jsbd.boss.domian.UmRetentConfig;

public class UmRetentConfigDaoImpl extends UmengBrushBaseDao implements IUmRetentConfigDao {

	@Override
	public void save(List<UmRetentConfig> list) {
		super.batchInsert("um_retent_config.insert_um_retent_config", list);
	}

	@SuppressWarnings("unchecked")
	@Override
	public List<UmRetentConfig> getList(UmRetentConfig umRetentConfig) {
		return super.queryForList("um_retent_config.select_um_retent_config_list", umRetentConfig);
	}
	
	@Override
	public void deleteByIdChannel(UmRetentConfig umRetentConfig) {
		super.delete("um_retent_config.delete_by_id_channel", umRetentConfig);
	}
	
	@Override
	public void delete(List<Integer> ids) {
		super.batchUpdate("um_retent_config.delete_by_id", ids);
	}

}
